// 定义平台属性值对象类型
export interface AttrValueModel {
  id?: number; //id
  valueName: string; //属性值名字
  attrId: number; // 相关联的属性值对象的id
  isShowEdit?: boolean; //用来标识input显示或隐藏的
}
// 定义平台属性值数组类型
export type AttrValueListModel = AttrValueModel[];

// 定义平台属性对象类型
export interface AttrModel {
  id?: number; //id
  attrName: string; //平台属性对象名字
  attrValueList: AttrValueListModel; //平台属性值数组
  categoryId: number; //分类的id
  categoryLevel: number; // 分类级别的id标识
}

// 定义平台属性对象数组类型
export type AttrListModel = AttrModel[];



/* 
 [
    {
      "attrName": "string",
      "attrValueList": [
        {
          "attrId": 0,
          "createTime": "2022-08-06T09:00:21.733Z",
          "id": 0,
          "updateTime": "2022-08-06T09:00:21.733Z",
          "valueName": "string"
        }
      ],
      "categoryId": 0,
      "categoryLevel": 0,
      "createTime": "2022-08-06T09:00:21.733Z",
      "id": 0,
      "updateTime": "2022-08-06T09:00:21.733Z"
    }
  ],
*/